package 作业;

public class DemoCoderandManger {
    public static void main(String[] args) {
        //创建经理对象
        Manger m = new Manger("老王",123,15000,6000);
        m.work();
        //创建程序员对象
        Coder c = new Coder("老王",135,6000);
        c.work();
    }
}
